<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="qrcode" style="width: 100px;height: 100px;margin-top: 15px">

</div>
</body>
<script type="text/javascript" src="//cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>

<script>
    new QRCode(document.getElementById("qrcode"),{
        // text:"https://qr.alipay.com/bax03608rjdrnaio2koi0045",
        text:"weixin://wxpay/bizpayurl?pr=58gy8W0z1",
        width: 100,
        height: 100
    })
</script>
</html>